package com.eportal.domain;
/**
 * @author chencheng
 */

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 用户收件箱
 * @author chencheng
 *
 */
public class UserInBox implements Serializable {
	
	/**
	 * @author chencheng
	 */
	private static final long serialVersionUID = 1L;
	
	/** sid */
	private Long sid;

	/** 用户编号*/
	private String userId;
	
	/** 消息类型，0:社区发布的共消息,1:邻居留言 */
	private String inBoxType;
	
	/** 消息内容*/
	private String msg;
	
	/** 发送方 用户编号*/
	private String sender;

	/** 接收时间*/
	private Timestamp receivetime;

	/** 0:新消息,1:已读消息*/
	private String readstatus;

	/**
	 * sid  
	 * @return the sid
	 */
	public Long getSid() {
		return sid;
	}
	

	/**
	 * sid 
	 * @param sid
	 */
	public void setSid(Long sid) {
		this.sid = sid;
	}
	

	/**
	 * 用户编号  
	 * @return the userId
	 */
	public String getUserId() {
		return userId;
	}
	

	/**
	 * 用户编号 
	 * @param userId
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}
	

	/**
	 * 0:社区发布的共消息1:邻居留言  
	 * @return the inBoxType
	 */
	public String getInBoxType() {
		return inBoxType;
	}
	

	/**
	 * 0:社区发布的共消息1:邻居留言 
	 * @param inBoxType
	 */
	public void setInBoxType(String inBoxType) {
		this.inBoxType = inBoxType;
	}
	

	/**
	 * 消息内容  
	 * @return the msg
	 */
	public String getMsg() {
		return msg;
	}
	

	/**
	 * 消息内容 
	 * @param msg
	 */
	public void setMsg(String msg) {
		this.msg = msg;
	}
	

	/**
	 * 发送方用户编号  
	 * @return the sender
	 */
	public String getSender() {
		return sender;
	}
	

	/**
	 * 发送方用户编号 
	 * @param sender
	 */
	public void setSender(String sender) {
		this.sender = sender;
	}
	

	/**
	 * 接收时间  
	 * @return the receivetime
	 */
	public Timestamp getReceivetime() {
		return receivetime;
	}
	

	/**
	 * 接收时间 
	 * @param receivetime
	 */
	public void setReceivetime(Timestamp receivetime) {
		this.receivetime = receivetime;
	}
	

	/**
	 * 0:新消息1:已读消息  
	 * @return the readstatus
	 */
	public String getReadstatus() {
		return readstatus;
	}
	

	/**
	 * 0:新消息1:已读消息 
	 * @param readstatus
	 */
	public void setReadstatus(String readstatus) {
		this.readstatus = readstatus;
	}
	
}
